package com.caigou.service;

import java.util.List;

import jiliang.purchase.demo.PersonObject;
import sch.jl.caigou.impl.personImpl;

public class PersonService {
	
	private personImpl PI = new personImpl();
	
	public PersonObject getPerson(String userName,String password)
	{
		return PI.getPerson(userName, password);
	}
	public void setPerson(PersonObject po)
	{
		PI.SetInformation(po);
	}
	public void addPerson(PersonObject po)
	{
		PI.addInformation(po);
	}
	public List<PersonObject> getAll(String keyword)
	{
		return PI.getAllPerson(keyword);
	}

}
